/****************************************************************************************
* Copyright 2018
*
* @file:projection.h
* @author:waboo
* @date:2018-11-1
* @brief:this file defines the algorithm about projections;
*
* history:
*
*
*******************************************************************************************/
#ifndef PROJCECTTION_H
#define PROJCECTTION_H

#include "alg_type_defs.h"
#include "surface.h"
//11-10
GEO_ALG_BEGIN_NAMESPACE
GEO_ALG_API Point3d projection(const Point3d& pnt, const Plane3d& plane);

GEO_ALG_API LineSegment3d projection(const LineSegment3d& line, const Plane3d& plane);

GEO_ALG_API Point3d projection(const Point3d& src, const LineSegment3d& line);

GEO_ALG_API Surface projection(const Surface& src, const Plane3d& plane);

GEO_ALG_API Polygon3d projection(const Polygon3d& src, const Plane3d& plane);

GEO_ALG_END_NAMESPACE

#endif

